package com.oocl.products.dao;

import java.util.List;

import com.oocl.products.pojo.Product;

public interface ProductDao {
	
	public int addProduct(Product product);
	
	public int deleteProduct(String pid);
	
	public int updateProduct(Product product);
	
	public Product queryProductByPid(String pid);
	
	public List<Product> queryAllProductBySid(Integer sid);
	
}
